package cn.lycode.system.domain.vo;

import cn.lycode.common.core.service.Treeable;
import cn.lycode.common.enums.TrueFalseEnum;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysDeptVO implements Treeable<SysDeptVO> {
    private Long id;
    private Long pid; //父id
    private List<SysDeptVO> children;

    private String ancestors; //祖籍列表
    private String deptName; //部门名称
    private Integer deptSort; //排序
    private Integer deep; //层级
    private TrueFalseEnum isLock; //是否锁定
    private String leader; //负责人
    private String mobile; //负责人手机号
    private String email; //负责人邮箱
    private Date createTime; //创建时间
    private String remark; //备注
}